package com.jeomo.mem.starter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.jeomo.base.starter.entity.BaseEntity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 会员积分补录明细
 *
 * @author:Jackpot
 * @create 2020-10-13 19:56
 * @description:
 */
public class MemberPointsSuppleDetail extends BaseEntity {

    /**主表编码*/
    private String pCode;
    /**商品编码*/
    private String goodsCode;
    @TableField(exist = false)
    /**商品名称*/
    private String goodsName;
    /**单价*/
    private Double price;
    /**数量*/
    private Integer number;
    /**消费金额*/
    private Double amount;
    /**参与积分的金额*/
    private Double amountPoints;
    /**积分规则*/
    private String rule;
    @TableField(exist = false)
    /**积分规则*/
    private String ruleName;
    /**基础积分*/
    private Integer pointsBasic;
    @TableField(exist = false)
    private LocalDate expiredTime;
    /**总积分*/
    private Integer pointsTotal;

    /**活动*/
//    private String activities;
//    @TableField(exist = false)
//    /**活动*/
//    private String[] activitiesCode;
//    @TableField(exist = false)
//    /**参与活动名称*/
//    private String[] activitiesName;
//    /**活动积分*/
//    private Integer pointsActivity;


    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public Integer getPointsBasic() {
        return pointsBasic;
    }

    public void setPointsBasic(Integer pointsBasic) {
        this.pointsBasic = pointsBasic;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public Integer getPointsTotal() {
        return pointsTotal;
    }

    public void setPointsTotal(Integer pointsTotal) {
        this.pointsTotal = pointsTotal;
    }

    public Double getAmountPoints() {
        return amountPoints;
    }

    public void setAmountPoints(Double amountPoints) {
        this.amountPoints = amountPoints;
    }

    public LocalDate getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(LocalDate expiredTime) {
        this.expiredTime = expiredTime;
    }
}
